import { Modal } from 'antd';

const { confirm } = Modal;

export function showConfirm(v: any) {
  confirm({
    title: 'Do you want to delete these items?',
    content:
      'When clicked the OK button, this dialog will be closed after 1 second',
    onOk: v,
    onCancel() {},
  });
}
